<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>导航栏</title>
    <style>
        div{
            border: 1px solid black;
            align-self: center;
            padding-left: 30px;
            background-color: chocolate;
            width: 620px;
        }
        span{
         background-color: brown;
        }
        img{
            width: 80px;
        }
    </style>
</head>
<body>
    <div class="root">
        <span><img src="image/1.png" alt="1"></span>
        <span><img src="image/2.png" alt="2"></span>
        <span><img src="image/3.png" alt="3"></span>
        <span><img src="image/4.png" alt="4"></span>
        <span><img src="image/5.png" alt="5"></span>
        <span><img src="image/6.png" alt="6"></span>
        <span><img src="image/7.png" alt="7"></span>
    </div>
</body>
</html>